<?php echo $this->render('head.phtml');?>
<div class='container_16 div_content ui-corner-all'>
  <div class='grid_23 bread_crumbs'>
    <div class='left'>
      <a class='crumb ' href='/'>首页</a>&nbsp;>>&nbsp;<a class='crumb ' href='/category/user-list'>用户排行榜</a><br/><br/>
      <div class="margin-left-40px">
	<?php $i=1; foreach ($this->users as $user){ ?>
	<div class='top_course_index <?php if ($i<4)echo "top3";else echo "top7";?>'><?php echo $i++;?></div>
	     &nbsp;&nbsp;<a class='crumb ' href="/category/user-content-list?uid=<?php echo $user['id'];?>"><?php echo $user['username'] ? $user['username'] : $user['email'];?></a><br/>
	     <div class="margin-left-40px margin-top-10px">
	       <?php if (isset($this->tags[$user['id']]))foreach ($this->tags[$user['id']] as $tag){ ?>
	       <a class='tag_crumb ' href="/category/user-content-list?uid=<?php echo $user['id']?>&tag_id=<?php echo $tag['tag_id'];?>"><?php echo $tag['tag'];?></a>
	       <?php } ?>
	     </div>
	     <br/>
	     <?php } ?>
	     
    </div>
  </div>
  <div class="clear"></div>
</div>
<div class="clear"></div>
<!-- tags with cateogry -->
<?php //echo $this->paginationControl($this->paginator, 'Sliding', 'courses/pagelist.phtml');?>

</div>
<?php echo $this->render('foot.phtml');?>
